package routers

import (
	"github.com/gin-gonic/gin"
	"shop-api/controller"
)

func publicProd(router *gin.RouterGroup) {
	api := &controller.ProductController{}
	product := router.Group("/prod")
	{
		product.GET("/prodByTagIdPage", api.ProdByTagIdPage)
		product.GET("/page", api.Page)
		product.GET("/prodInfo", api.ProdInfo)
	}
}
